About Enhancing Your Testing Agent
After you complete the implementation of the mandatory ITestable interface, you can implement the additional interfaces in the SDK to support more advanced OpenText Functional Testing capabilities such as Record, Active Screen, Highlight, creating checkpoints. These interfaces are defined in the UFT Extensibility Agent type library.
The following table shows the interfaces that you need to implement for each OpenText Functional Testing capability and the methods included in each interface:
Supported Capability | Interface to Implement | API Methods |
|---|---|---|
Object Spy | ||
Accessing native properties and operations | ||
Record | ||
Active Screen | ||
Highlight | ||
Bitmap Checkpoint | IRectangleSupplier or ITestable (GetProperties: width and height properties) | or GetProperties (width and height) |
Visual Relation Identifiers | IRectangleSupplier or ITestable (GetProperties: abs_x, abs_y, width and height properties) | or GetProperties (abs_x, abs_y, width and height) |
Test Event Notification (OpenText Functional Testing notifies the Testing Agent) | BeginRun2 (implement if you want to add lines to the OpenText Functional Testing run results) |
Perform your development in stages, adding support for one OpenText Functional Testing capability at a time and testing after each stage.

